d0f5e9501a421e3b5bd531c2c8fef956f839920f,cdap-app-templates/cdap-etl/cdap-etl-core/src/main/java/co/cask/cdap/templates/etl/common/ETLTemplate.java,ETLTemplate,configureAdapter,#String#T#AdapterConfigurer#,65

Before Change


      // Generate a transformId based on transform name and the array index (since there could
      // multiple transforms - ex, N filter transforms in the same pipeline)
      String transformId = String.format("%s%s%d", transformConfig.getName(), Constants.ID_SEPARATOR, i);
      TransformStage transformObj = configurer.usePlugin(
        Constants.Transform.PLUGINTYPE, transformConfig.getName(), transformId,
        PluginProperties.builder().addAll(transformConfig.getProperties()).build());
      if (transformObj == null) {
        throw new IllegalArgumentException(String.format("No Plugins of type %s named %s was found",
                                                         Constants.Transform.PLUGINTYPE, transformConfig.getName()));

After Change


      // Generate a transformId based on transform name and the array index (since there could
      // multiple transforms - ex, N filter transforms in the same pipeline)
      String transformId = String.format("%s%s%d", transformConfig.getName(), Constants.ID_SEPARATOR, i);
      PluginProperties transformProperties = PluginProperties.builder().addAll(transformConfig.getProperties()).build();
      TransformStage transformObj = configurer.usePlugin(Constants.Transform.PLUGINTYPE, transformConfig.getName(),
                                                         transformId, transformProperties);
      if (transformObj == null) {
        throw new IllegalArgumentException(String.format("No Plugin of type '%s' named '%s' was found",
                                                         Constants.Transform.PLUGINTYPE, transformConfig.getName()));